<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Manazra.Controllers.BlogViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Start a Blog
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Start a Blog</h2>

    <%= Html.ValidationSummary("Form cannot be submitted. Please correct the errors and try again.")%>

    <% using (Html.BeginForm()) {%>            
        <p>
            <label for="Title">Title:</label>
            <%= Html.TextBox("Title", Model.Blog.Title, new { size = "80" })%>
            <%= Html.ValidationMessage("Title", "*") %>
        </p>
        <p>
            <input type="submit" value="Save" />
        </p>
    <% } %>

    <div>
        <a href="/Blogs">Cancel and Go Back to Blogs</a>
    </div>

</asp:Content>

